Forcing scripts to display as source code

Course- htaccess >

If you need to display scripts as source code, instead of executing, for example to allow review, this can be achieved with the Remove Handler function
 
To enable this, create a .htaccess file following the main instructions and guidance, and include the following text:
 

RemoveHandler cgi-script .pl .cgi .php .py
AddType text/plain .pl .cgi .php .py